#include <time.h>
#include <stdio.h>
#include "utils.h"

void get_time(char* ts)
{
    time_t timp;
    struct tm *tp;
    time(&timp);
    tp = localtime(&timp);

    snprintf(ts,10,"%02d_%02d_%02d",tp->tm_hour,tp->tm_min,tp->tm_sec);
}
